﻿namespace zijian666.DI.Abstractions;

/// <summary>
/// 装配程序
/// </summary>
public interface IAutowiredInvoker
{
    /// <summary>
    /// 自动装配
    /// </summary>
    /// <param name="context">装配上下文</param>
    /// <param name="descriptor">装配描述符</param>
    /// <param name="instance">待装配实体</param>
    bool TryWired(IAutowiredContext context, AutowiredDescriptor descriptor, object instance);
}
